package com.stylefeng.guns.modular.flagglory.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BookDao {
    List<Map<String, Object>> selectChaptersByBookId(@Param("bookId") Integer bookId);

    Map<String, Object> selectNextOrBeforeChapter(@Param("isNext") Boolean isNext,@Param("sort") Integer sort,@Param("bookId") Integer bookId);
}
